package com.seven.springboot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/9/26.
 */
@Component
@Order(value = 1)
public class SevenSpringBootRunner implements CommandLineRunner {

    private static final Logger LOGGER = LoggerFactory.getLogger(SevenSpringBootRunner.class);

    @Override
    public void run(String... strings) throws Exception {
        LOGGER.info("初始化执行操作");
    }
}
